package com.store.practice.mapper;

import com.store.practice.model.BgStaff;
import com.store.practice.model.BgStaffExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgStaffMapper {
    long countByExample(BgStaffExample example);

    int deleteByExample(BgStaffExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BgStaff record);

    int insertSelective(BgStaff record);

    List<BgStaff> selectByExample(BgStaffExample example);

    BgStaff selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BgStaff record, @Param("example") BgStaffExample example);

    int updateByExample(@Param("record") BgStaff record, @Param("example") BgStaffExample example);

    int updateByPrimaryKeySelective(BgStaff record);

    int updateByPrimaryKey(BgStaff record);
}